package com.szcinda.call.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface GhzhInfoRepository extends JpaRepository<GhzhInfo, String>, JpaSpecificationExecutor<GhzhInfo> {

    List<GhzhInfo> findAllByPickingNumber(String pickingNumber);

    // 根据提单号和箱号查找
    GhzhInfo findByPickingNumberAndCntrNo(String pickingNumber, String cntrNo);
}
